QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Vendor and Engine IDs

QuickDraw 3D RAVE defines constants for vendor IDs. You pass a vendor ID as a parameter to the QAEngineEnable and QAEngineDisable functions, and you receive a vendor ID when you pass the kQAGestalt_VendorID selector to the QAEngineGestalt function.

#define kQAVendor_BestChoice                        (-1)
#define kQAVendor_Apple                             0
#define kQAVendor_ATI                               1
#define kQAVendor_Radius                            2
#define kQAVendor_Mentor                            3
#define kQAVendor_Matrox                            4
#define kQAVendor_Yarc                              5
#define kQAVendor_DiamondMM                         6

Constant descriptions

kQAVendor_BestChoice
The best drawing engine available for the target device. You should use this value as the default.
kQAVendor_Apple
The vendor is Apple Computer, Inc.
kQAVendor_ATI
The vendor is ATI Technologies Inc.
kQAVendor_Radius
The vendor is Radius.
kQAVendor_Mentor
The vendor is Mentor Software, Inc.
kQAVendor_Matrox
The vendor is Matrox Graphics.
kQAVendor_Yarc
The vendor is YARC Systems.
kQAVendor_DiamondMM
The vendor is Diamond Multimedia.

For the vendor kQAVendor_Apple , QuickDraw 3D RAVE defines these constants for engine IDs.

#define kQAEngine_AppleSW                           0
#define kQAEngine_AppleHW                           (-1)
#define kQAEngine_AppleHW2                          1
#define kQAEngine_AppleHW3                          2

Constant descriptions

kQAEngine_AppleSW
The default software rasterizer.
kQAEngine_AppleHW
The QuickDraw 3D accelerator card.
kQAEngine_AppleHW2
Another Apple 3D accelerator.
kQAEngine_AppleHW3
Another Apple 3D accelerator.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |